package com.xgll.modules.admin.service;

import java.util.List;
import java.util.Map;

import com.xgll.modules.admin.entity.RuleEntity;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-11-28 21:39:45
 */
public interface RuleService {
	
	RuleEntity queryObject(Integer id);
	
	List<RuleEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(RuleEntity promoterLevel);
	
	void update(RuleEntity promoterLevel);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
